package com.red.star.wechat.data.entity;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @author chenjunliang
 * @date 2018/7/18.
 */
@Data
public class IntentionCardPojo extends BaseEntity {

    /**
     *意向卡ID
     */
    private Integer expectId;

    /**
     * 意向卡图片
     */
    private String intentionCardUrl;

    /**
     * 品类
     */
    private String categoryName;

    private List<String> categoryNames;

    /**
     * 用户微信昵称
     */
    private String nickname;

    /**
     * 用户openId
     */
    private String openid;

    /**
     *注册姓名
     */
    private String name;

    /**
     * 注册手机号
     */
    private String mobile;

    /**
     * 回复状态
     */
    private Integer replyStatus;

    /**
     * 最后回复时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endReplyTime;

    /**
     * 意向卡创建时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startCreateTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endCreateTime;

    private String startTime;

    private String endTime;

    private String createTimes;

    /**
     * 需求卡创建状态
     */
    private Integer createStatus;

    /**
     * 关联的聊天会话id
     */
    private String chatSessionId;

}
